﻿
@{
    ViewBag.Title = "Test1";
}

<h2>Test1</h2>

<button onclick="send()">send +</button>
<p id="res"></p>
<script>
    function send() {
        $.get("http://localhost:50687/Test/Method1?type=v%2Bt+c%2Bn").done(function (data) {
            debugger;
            document.querySelector("#res").innerHTML = decodeURIComponent(data);
        })
    }
</script>